package com.baoyouqun.domain.Query;

import com.baoyouqun.domain.Enum.SearchTypeEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@Data
public class UserSearchRecordPageQuery implements Serializable {

    private static final long serialVersionUID = 1L;


    @ApiModelProperty(value = "每页条数（默认10）")
    private Long size = 10L;

    @ApiModelProperty(value = "当前页码（默认1）")
    private Long current = 1L;

    @ApiModelProperty(value = "搜索关键词（模糊匹配，如大米）")
    private String searchKeyword;

    @ApiModelProperty(value = "地区代码（关联user表cityCode，如360100）")
    private String cityCode;

    @ApiModelProperty(value = "会员等级（0=临时会员，1=VIP会员）")
    private String memberLevel;

    @ApiModelProperty(value = "搜索类型（1=综合，2=找需求，3=找资源，4=找人）")
    private SearchTypeEnum searchType;
 
    @ApiModelProperty(value = "搜索类型")
    private String type;

    @ApiModelProperty(value = "用户姓名（模糊匹配，如张山峰）")
    private String name;

    @ApiModelProperty(value = "用户手机号（精确匹配，如15523221256）")
    private String cellphone;
}